#ifndef DISCMAGNET_H
#define DISCMAGNET_H
#include "Commands/Subsystem.h"
#include "WPILib.h"

/**
 *
 *
 * @author team308
 */
class DiscMagnet: public Subsystem {
private:
	// It's desirable that everything possible under private except
	// for methods that implement subsystem capabilities
	bool isUp;
public:
	Notifier* sweeperStart;
	enum discMagnetState{
		kDiscMagnetUp,
		kDiscMagnetDown,
		kDiscMagnetOff
	};
	bool MagnetIsUp();
	Solenoid discMagnetSolenoid;
	Victor discMagnetVictor;
	static void StartSweeper(void*);
	void DiscMagnetControl(discMagnetState);
	DiscMagnet();
	void InitDefaultCommand();
};

#endif
